package com.guanghua.brick.html;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.PageContext;

public interface IControl extends IComponent {
	
	public String build(HttpServletRequest request, HttpServletResponse response, PageContext pageContext);

	public IContent getContent();
	public void setContent(IContent content);
	
	public String getData();
	public void setData(String data);
	
	public String getDataSource();
	public void setDataSource(String dataSource);

	public List<IDepend> getDepends();
	public void setDepends(List<IDepend> depends);
	
	public List<IReplace> getReplaces();
	public void setReplaces(List<IReplace> replaces);
	
	public String getFunction();
	public void setFunction(String function);
	
}
